package me.firstapp.module.weixin.activity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import me.firstapp.module.base.BaseEntity;

@Entity
@Table(name = "REDPACK_RECORD")
public class RedPackRecord extends BaseEntity {

	private static final long serialVersionUID = 8574250379050929885L;

	@Column(name = "PRODUCT_ID", nullable = false)
	private Long productId;

	@Column(name = "OPEN_ID", length = 40, nullable = false)
	private String openId;

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}
}
